<div class="page-header">
  <h1>ICO充值</h1>
  <small>填写正数为充值，填写负数为扣除</small>
</div>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage form-control" name="row[user_id]" type="text" value="{$row.user_id}" disabled="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <div class="col-xs-4">{:__('Usd')} : {$row.USD}</div>
            <div class="col-xs-4">{:__('Fae')} : {$row.FAE}</div>
            <div class="col-xs-4">{:__('Yusd')} : {$row.YUSD}</div> 
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">充值类型</label>
        <div class="col-xs-12 col-sm-8">
            {$select}
        </div>
    </div>
    <div class="form-group" id='c-USD-out'>
        <label class="control-label col-xs-12 col-sm-2">{:__('Usd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-USD" class="form-control form-control" step="0.0001" name="row[USD]" type="number" value="">
        </div>
    </div>
    <div class="form-group hidden" id='c-FAE-out'>
        <label class="control-label col-xs-12 col-sm-2">{:__('Fae')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-FAE" class="form-control form-control" step="0.0001" name="row[FAE]" type="number" value="">
        </div>
    </div>
    <div class="form-group hidden" id='c-YUSD-out'>
        <label class="control-label col-xs-12 col-sm-2">{:__('Yusd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-YUSD" class="form-control form-control" step="0.0001" name="row[YUSD]" type="number" value="">
        </div>
    </div>
    <div class="form-group" id='c-memo-out'>
        <label class="control-label col-xs-12 col-sm-2">留言:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-memo" class="form-control form-control" name="row[memo]" value="" placeholder="请填入理由"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>
